package com.LearnInWorld.video.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "tb_course")
public class Course implements Serializable {

    @Id
    private String id;//视频id

    private String sn;//课程编号

    private String name;//课程名称

    private String caption;//副标题

    private String videoId;//视频id

    private Long moduleId;//模块id

    private String moduleName;//模块名称

    private String image;//课程图片

    private String images;//视频图片列表

    private String introduction;//视频介绍

    private Date courseUpTime;//上传日期

    private String pay;//是否付费

    private Integer price;//价格

    private Integer categoryId;//分类id

    private String categoryName;//分类id

    private Long commentNum;//评论次数

    private String videoUrl;//视频url
}
